package org.csu.small.service;

import org.csu.small.common.UniformResponse;
import org.csu.small.entity.Slide;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


/**
 * @author Rambo
 * @date 2020-06-08 9:23
 */
public interface ISlideService {
    UniformResponse<List<Slide>> queryAll(Integer isShow);

    UniformResponse<String> addSlide(Slide slide);

    UniformResponse<String> editSlide(Slide slide);

    UniformResponse<Object> getSlideList(int pageNum, int pageSize);

    UniformResponse<String> setSlideStatus(Integer slideId, Integer status);

    UniformResponse<String> slide_upload(MultipartFile upload_file, String path);

    UniformResponse<Slide> detail(Integer slideId);

    UniformResponse<String> delete(Integer slideId);
}
